﻿<?xml version="1.0" encoding="utf-8" ?>
<log4net>
  <appender name="rollingFile" type="log4net.Appender.RollingFileAppender,log4net">
    <param name="File" value="log/log.txt"/>
    <param name="AppendToFile" value="true"/>
    <param name="RollingStyle" value="Size"/>
    <param name="DatePattern" value="yyyy.MM.dd"/>
    <param name="StaticLogFileName" value="true"/>
    <param name="maxSizeRollBackups" value="512"/>
    <param name="maximumFileSize" value="2048kb"/>
    <layout type="log4net.Layout.PatternLayout,log4net">
      <param name="ConversionPattern" value="%d [%t] %-5p %c [%x] %X{auth} - %m%n"/>
    </layout>
  </appender>
  <root>
    <level value="Debug"/>
    <appender-ref ref="rollingFile"/>
  </root>
</log4net>